package ResourcePackage
{
	import flash.utils.ByteArray;

	public class ResourceByteArray extends Resource
	{
		protected var byteArray:ByteArray;
		public function ResourceByteArray()
		{
			super();
		}
		public override function SetData(object:Object):void
		{
			byteArray = object as ByteArray;
		}
		public override function GetData():Object
		{
			return byteArray;
		}
		public override function GetResourceType():int
		{
			return Resource.TYPE_ByteArray;
		}
		public function GetByteArray():ByteArray
		{
			return byteArray;
		}
	}
}